<?php
/**
 *    移动端应用【word.文档】的接口程序
 *    主页：http://www.rockoa.com/
 *    软件：SesOffice
 *    作者：雨中磐石(rainrock)
 *    日期：2017-11-21
 */

class ying_wordClass extends yingClassAction
{
    private $mobj;
    private $searchtool = true; //需要搜索拦

    public function initYing($mobj)
    {
        $this->mobj = $mobj;
        //获取分区
        $worcarr = m('worc')->getmywroc();
        $this->mobj->assign('worcarr', $worcarr);
        	$this->mobj->assign('searchtool', $this->searchtool);
        $this->mobj->assign('searchmsg', '文件名/文件夹');
    }

	public function cloud($mobj)
    {
        $this->mobj = $mobj;
        //获取分区
		$worcarr = m('worc')->getmywroc();

		return $worcarr;
    }
}